Telegram Group & Telegram Channel
Задача с кодом. Собираем и разбираем строку

Напишите функцию, которая будет принимать строку и возвращать список подстрок из символов этой строки, собранных и разобранных посимвольно.

Пример

construct_deconstruct("the sun") ➞ [
"t",
"th",
"the",
"the ",
"the s",
"the su",
"the sun",
"the su",
"the s",
"the ",
"the",
"th",
"t"
]
# Обратите внимание на пробел

Решение на нашем сайте.

#задача #coding



tg-me.com/pythonist_ru/2458
Create:
Last Update:

Задача с кодом. Собираем и разбираем строку

Напишите функцию, которая будет принимать строку и возвращать список подстрок из символов этой строки, собранных и разобранных посимвольно.

Пример

construct_deconstruct("the sun") ➞ [
"t",
"th",
"the",
"the ",
"the s",
"the su",
"the sun",
"the su",
"the s",
"the ",
"the",
"th",
"t"
]
# Обратите внимание на пробел

Решение на нашем сайте.

#задача #coding

BY Pythonist.ru - образование по питону


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythonist_ru/2458

View MORE
Open in Telegram


Pythonist ru образование по питону Telegram | DID YOU KNOW?

Date: |

At a time when the Indian stock market is peaking and has rallied immensely compared to global markets, there are companies that have not performed in the last 10 years. These are definitely a minor portion of the market considering there are hundreds of stocks that have turned multibagger since 2020. What went wrong with these stocks? Reasons vary from corporate governance, sectoral weakness, company specific and so on. But the more important question is, are these stocks worth buying?

Pythonist ru образование по питону from it


Telegram Pythonist.ru - образование по питону
FROM USA